#include <stdio.h>
int main(void)
{
    int i, n, m, cnt = 0;
    double ave = 0;
    scanf("%d", &n);
    for(i=0; i<n; i++)
{
    scanf("%d", &m);
    ave += m;
    if(m >= 60)
    {
        cnt++;
    }
}

printf("average=%.1f,count=%d", ave/n, cnt);
    return 0;
}
